package blog.service;

import blog.vo.Result;
import blog.vo.params.LoginParam;
import com.fasterxml.jackson.core.JsonProcessingException;

public interface LoginService {

    // 登录
    public Result login(String account,String pwd) throws JsonProcessingException;

    // 退出
    public Result logout(String token);
}
